package com.feng;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author feng
 * @describe
 */
//(exclude= {SecurityAutoConfiguration.class })
@SpringBootApplication
public class ExamApp {
    public static void main(String[] args) {
        SpringApplication.run(ExamApp.class, args);
    }

    @Bean
    public BCryptPasswordEncoder getEncoder() {
        return new BCryptPasswordEncoder();
    }

}
